import request from '../utils/request'
//获取数据接口
export function getHome(params){
    return request({
        url:'/getTeacherData',
        method:'get',
        params
    })
}
//删除接口
export function delData(params){
    return request({
        url:'/deleteteacherData',
        method:'post',
        data:params
    })
}
//编辑接口
export function chageData(params){
    return request({
        url:'/changeTeacherData',
        method:'post',
        data:params
    })
}
// 批量删除接口
export function batchData(params){
    return request({
        url:'/batchTeacherData',
        method:'post',
        data:params
    })
}